package com.java.base.exercise.HeapTest;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * @Author RenPu
 * @Date 2024/2/20 21:21
 * @Version 1.0
 * @Description:
 **/
public class HeapTest {

    byte[] a=new byte[1024*1024*2];

    public static void main(String[] args) throws InterruptedException {

        List<Object> list = new ArrayList<>();

        while (true){
            list.add(new HeapTest());
            TimeUnit.MILLISECONDS.sleep(100L);
        }


    }
}
